package com.rc.evcharger.model.ugs;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TenantUgsMemberLevelExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TenantUgsMemberLevelExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andMemberIdIsNull() {
            addCriterion("member_id is null");
            return (Criteria) this;
        }

        public Criteria andMemberIdIsNotNull() {
            addCriterion("member_id is not null");
            return (Criteria) this;
        }

        public Criteria andMemberIdEqualTo(Long value) {
            addCriterion("member_id =", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdNotEqualTo(Long value) {
            addCriterion("member_id <>", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdGreaterThan(Long value) {
            addCriterion("member_id >", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdGreaterThanOrEqualTo(Long value) {
            addCriterion("member_id >=", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdLessThan(Long value) {
            addCriterion("member_id <", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdLessThanOrEqualTo(Long value) {
            addCriterion("member_id <=", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdIn(List<Long> values) {
            addCriterion("member_id in", values, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdNotIn(List<Long> values) {
            addCriterion("member_id not in", values, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdBetween(Long value1, Long value2) {
            addCriterion("member_id between", value1, value2, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdNotBetween(Long value1, Long value2) {
            addCriterion("member_id not between", value1, value2, "memberId");
            return (Criteria) this;
        }

        public Criteria andTenantCodeIsNull() {
            addCriterion("tenant_code is null");
            return (Criteria) this;
        }

        public Criteria andTenantCodeIsNotNull() {
            addCriterion("tenant_code is not null");
            return (Criteria) this;
        }

        public Criteria andTenantCodeEqualTo(String value) {
            addCriterion("tenant_code =", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotEqualTo(String value) {
            addCriterion("tenant_code <>", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeGreaterThan(String value) {
            addCriterion("tenant_code >", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeGreaterThanOrEqualTo(String value) {
            addCriterion("tenant_code >=", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeLessThan(String value) {
            addCriterion("tenant_code <", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeLessThanOrEqualTo(String value) {
            addCriterion("tenant_code <=", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeLike(String value) {
            addCriterion("tenant_code like", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotLike(String value) {
            addCriterion("tenant_code not like", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeIn(List<String> values) {
            addCriterion("tenant_code in", values, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotIn(List<String> values) {
            addCriterion("tenant_code not in", values, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeBetween(String value1, String value2) {
            addCriterion("tenant_code between", value1, value2, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotBetween(String value1, String value2) {
            addCriterion("tenant_code not between", value1, value2, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andLevelTypeIsNull() {
            addCriterion("level_type is null");
            return (Criteria) this;
        }

        public Criteria andLevelTypeIsNotNull() {
            addCriterion("level_type is not null");
            return (Criteria) this;
        }

        public Criteria andLevelTypeEqualTo(String value) {
            addCriterion("level_type =", value, "levelType");
            return (Criteria) this;
        }

        public Criteria andLevelTypeNotEqualTo(String value) {
            addCriterion("level_type <>", value, "levelType");
            return (Criteria) this;
        }

        public Criteria andLevelTypeGreaterThan(String value) {
            addCriterion("level_type >", value, "levelType");
            return (Criteria) this;
        }

        public Criteria andLevelTypeGreaterThanOrEqualTo(String value) {
            addCriterion("level_type >=", value, "levelType");
            return (Criteria) this;
        }

        public Criteria andLevelTypeLessThan(String value) {
            addCriterion("level_type <", value, "levelType");
            return (Criteria) this;
        }

        public Criteria andLevelTypeLessThanOrEqualTo(String value) {
            addCriterion("level_type <=", value, "levelType");
            return (Criteria) this;
        }

        public Criteria andLevelTypeLike(String value) {
            addCriterion("level_type like", value, "levelType");
            return (Criteria) this;
        }

        public Criteria andLevelTypeNotLike(String value) {
            addCriterion("level_type not like", value, "levelType");
            return (Criteria) this;
        }

        public Criteria andLevelTypeIn(List<String> values) {
            addCriterion("level_type in", values, "levelType");
            return (Criteria) this;
        }

        public Criteria andLevelTypeNotIn(List<String> values) {
            addCriterion("level_type not in", values, "levelType");
            return (Criteria) this;
        }

        public Criteria andLevelTypeBetween(String value1, String value2) {
            addCriterion("level_type between", value1, value2, "levelType");
            return (Criteria) this;
        }

        public Criteria andLevelTypeNotBetween(String value1, String value2) {
            addCriterion("level_type not between", value1, value2, "levelType");
            return (Criteria) this;
        }

        public Criteria andKeepTimeIsNull() {
            addCriterion("keep_time is null");
            return (Criteria) this;
        }

        public Criteria andKeepTimeIsNotNull() {
            addCriterion("keep_time is not null");
            return (Criteria) this;
        }

        public Criteria andKeepTimeEqualTo(Date value) {
            addCriterion("keep_time =", value, "keepTime");
            return (Criteria) this;
        }

        public Criteria andKeepTimeNotEqualTo(Date value) {
            addCriterion("keep_time <>", value, "keepTime");
            return (Criteria) this;
        }

        public Criteria andKeepTimeGreaterThan(Date value) {
            addCriterion("keep_time >", value, "keepTime");
            return (Criteria) this;
        }

        public Criteria andKeepTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("keep_time >=", value, "keepTime");
            return (Criteria) this;
        }

        public Criteria andKeepTimeLessThan(Date value) {
            addCriterion("keep_time <", value, "keepTime");
            return (Criteria) this;
        }

        public Criteria andKeepTimeLessThanOrEqualTo(Date value) {
            addCriterion("keep_time <=", value, "keepTime");
            return (Criteria) this;
        }

        public Criteria andKeepTimeIn(List<Date> values) {
            addCriterion("keep_time in", values, "keepTime");
            return (Criteria) this;
        }

        public Criteria andKeepTimeNotIn(List<Date> values) {
            addCriterion("keep_time not in", values, "keepTime");
            return (Criteria) this;
        }

        public Criteria andKeepTimeBetween(Date value1, Date value2) {
            addCriterion("keep_time between", value1, value2, "keepTime");
            return (Criteria) this;
        }

        public Criteria andKeepTimeNotBetween(Date value1, Date value2) {
            addCriterion("keep_time not between", value1, value2, "keepTime");
            return (Criteria) this;
        }

        public Criteria andRealnameAuthTypeIsNull() {
            addCriterion("realname_auth_type is null");
            return (Criteria) this;
        }

        public Criteria andRealnameAuthTypeIsNotNull() {
            addCriterion("realname_auth_type is not null");
            return (Criteria) this;
        }

        public Criteria andRealnameAuthTypeEqualTo(String value) {
            addCriterion("realname_auth_type =", value, "realnameAuthType");
            return (Criteria) this;
        }

        public Criteria andRealnameAuthTypeNotEqualTo(String value) {
            addCriterion("realname_auth_type <>", value, "realnameAuthType");
            return (Criteria) this;
        }

        public Criteria andRealnameAuthTypeGreaterThan(String value) {
            addCriterion("realname_auth_type >", value, "realnameAuthType");
            return (Criteria) this;
        }

        public Criteria andRealnameAuthTypeGreaterThanOrEqualTo(String value) {
            addCriterion("realname_auth_type >=", value, "realnameAuthType");
            return (Criteria) this;
        }

        public Criteria andRealnameAuthTypeLessThan(String value) {
            addCriterion("realname_auth_type <", value, "realnameAuthType");
            return (Criteria) this;
        }

        public Criteria andRealnameAuthTypeLessThanOrEqualTo(String value) {
            addCriterion("realname_auth_type <=", value, "realnameAuthType");
            return (Criteria) this;
        }

        public Criteria andRealnameAuthTypeLike(String value) {
            addCriterion("realname_auth_type like", value, "realnameAuthType");
            return (Criteria) this;
        }

        public Criteria andRealnameAuthTypeNotLike(String value) {
            addCriterion("realname_auth_type not like", value, "realnameAuthType");
            return (Criteria) this;
        }

        public Criteria andRealnameAuthTypeIn(List<String> values) {
            addCriterion("realname_auth_type in", values, "realnameAuthType");
            return (Criteria) this;
        }

        public Criteria andRealnameAuthTypeNotIn(List<String> values) {
            addCriterion("realname_auth_type not in", values, "realnameAuthType");
            return (Criteria) this;
        }

        public Criteria andRealnameAuthTypeBetween(String value1, String value2) {
            addCriterion("realname_auth_type between", value1, value2, "realnameAuthType");
            return (Criteria) this;
        }

        public Criteria andRealnameAuthTypeNotBetween(String value1, String value2) {
            addCriterion("realname_auth_type not between", value1, value2, "realnameAuthType");
            return (Criteria) this;
        }

        public Criteria andSigninTypeIsNull() {
            addCriterion("signin_type is null");
            return (Criteria) this;
        }

        public Criteria andSigninTypeIsNotNull() {
            addCriterion("signin_type is not null");
            return (Criteria) this;
        }

        public Criteria andSigninTypeEqualTo(String value) {
            addCriterion("signin_type =", value, "signinType");
            return (Criteria) this;
        }

        public Criteria andSigninTypeNotEqualTo(String value) {
            addCriterion("signin_type <>", value, "signinType");
            return (Criteria) this;
        }

        public Criteria andSigninTypeGreaterThan(String value) {
            addCriterion("signin_type >", value, "signinType");
            return (Criteria) this;
        }

        public Criteria andSigninTypeGreaterThanOrEqualTo(String value) {
            addCriterion("signin_type >=", value, "signinType");
            return (Criteria) this;
        }

        public Criteria andSigninTypeLessThan(String value) {
            addCriterion("signin_type <", value, "signinType");
            return (Criteria) this;
        }

        public Criteria andSigninTypeLessThanOrEqualTo(String value) {
            addCriterion("signin_type <=", value, "signinType");
            return (Criteria) this;
        }

        public Criteria andSigninTypeLike(String value) {
            addCriterion("signin_type like", value, "signinType");
            return (Criteria) this;
        }

        public Criteria andSigninTypeNotLike(String value) {
            addCriterion("signin_type not like", value, "signinType");
            return (Criteria) this;
        }

        public Criteria andSigninTypeIn(List<String> values) {
            addCriterion("signin_type in", values, "signinType");
            return (Criteria) this;
        }

        public Criteria andSigninTypeNotIn(List<String> values) {
            addCriterion("signin_type not in", values, "signinType");
            return (Criteria) this;
        }

        public Criteria andSigninTypeBetween(String value1, String value2) {
            addCriterion("signin_type between", value1, value2, "signinType");
            return (Criteria) this;
        }

        public Criteria andSigninTypeNotBetween(String value1, String value2) {
            addCriterion("signin_type not between", value1, value2, "signinType");
            return (Criteria) this;
        }

        public Criteria andSigninDayIsNull() {
            addCriterion("signin_day is null");
            return (Criteria) this;
        }

        public Criteria andSigninDayIsNotNull() {
            addCriterion("signin_day is not null");
            return (Criteria) this;
        }

        public Criteria andSigninDayEqualTo(Integer value) {
            addCriterion("signin_day =", value, "signinDay");
            return (Criteria) this;
        }

        public Criteria andSigninDayNotEqualTo(Integer value) {
            addCriterion("signin_day <>", value, "signinDay");
            return (Criteria) this;
        }

        public Criteria andSigninDayGreaterThan(Integer value) {
            addCriterion("signin_day >", value, "signinDay");
            return (Criteria) this;
        }

        public Criteria andSigninDayGreaterThanOrEqualTo(Integer value) {
            addCriterion("signin_day >=", value, "signinDay");
            return (Criteria) this;
        }

        public Criteria andSigninDayLessThan(Integer value) {
            addCriterion("signin_day <", value, "signinDay");
            return (Criteria) this;
        }

        public Criteria andSigninDayLessThanOrEqualTo(Integer value) {
            addCriterion("signin_day <=", value, "signinDay");
            return (Criteria) this;
        }

        public Criteria andSigninDayIn(List<Integer> values) {
            addCriterion("signin_day in", values, "signinDay");
            return (Criteria) this;
        }

        public Criteria andSigninDayNotIn(List<Integer> values) {
            addCriterion("signin_day not in", values, "signinDay");
            return (Criteria) this;
        }

        public Criteria andSigninDayBetween(Integer value1, Integer value2) {
            addCriterion("signin_day between", value1, value2, "signinDay");
            return (Criteria) this;
        }

        public Criteria andSigninDayNotBetween(Integer value1, Integer value2) {
            addCriterion("signin_day not between", value1, value2, "signinDay");
            return (Criteria) this;
        }

        public Criteria andCarAuthTypeIsNull() {
            addCriterion("car_auth_type is null");
            return (Criteria) this;
        }

        public Criteria andCarAuthTypeIsNotNull() {
            addCriterion("car_auth_type is not null");
            return (Criteria) this;
        }

        public Criteria andCarAuthTypeEqualTo(String value) {
            addCriterion("car_auth_type =", value, "carAuthType");
            return (Criteria) this;
        }

        public Criteria andCarAuthTypeNotEqualTo(String value) {
            addCriterion("car_auth_type <>", value, "carAuthType");
            return (Criteria) this;
        }

        public Criteria andCarAuthTypeGreaterThan(String value) {
            addCriterion("car_auth_type >", value, "carAuthType");
            return (Criteria) this;
        }

        public Criteria andCarAuthTypeGreaterThanOrEqualTo(String value) {
            addCriterion("car_auth_type >=", value, "carAuthType");
            return (Criteria) this;
        }

        public Criteria andCarAuthTypeLessThan(String value) {
            addCriterion("car_auth_type <", value, "carAuthType");
            return (Criteria) this;
        }

        public Criteria andCarAuthTypeLessThanOrEqualTo(String value) {
            addCriterion("car_auth_type <=", value, "carAuthType");
            return (Criteria) this;
        }

        public Criteria andCarAuthTypeLike(String value) {
            addCriterion("car_auth_type like", value, "carAuthType");
            return (Criteria) this;
        }

        public Criteria andCarAuthTypeNotLike(String value) {
            addCriterion("car_auth_type not like", value, "carAuthType");
            return (Criteria) this;
        }

        public Criteria andCarAuthTypeIn(List<String> values) {
            addCriterion("car_auth_type in", values, "carAuthType");
            return (Criteria) this;
        }

        public Criteria andCarAuthTypeNotIn(List<String> values) {
            addCriterion("car_auth_type not in", values, "carAuthType");
            return (Criteria) this;
        }

        public Criteria andCarAuthTypeBetween(String value1, String value2) {
            addCriterion("car_auth_type between", value1, value2, "carAuthType");
            return (Criteria) this;
        }

        public Criteria andCarAuthTypeNotBetween(String value1, String value2) {
            addCriterion("car_auth_type not between", value1, value2, "carAuthType");
            return (Criteria) this;
        }

        public Criteria andShareNumIsNull() {
            addCriterion("share_num is null");
            return (Criteria) this;
        }

        public Criteria andShareNumIsNotNull() {
            addCriterion("share_num is not null");
            return (Criteria) this;
        }

        public Criteria andShareNumEqualTo(Integer value) {
            addCriterion("share_num =", value, "shareNum");
            return (Criteria) this;
        }

        public Criteria andShareNumNotEqualTo(Integer value) {
            addCriterion("share_num <>", value, "shareNum");
            return (Criteria) this;
        }

        public Criteria andShareNumGreaterThan(Integer value) {
            addCriterion("share_num >", value, "shareNum");
            return (Criteria) this;
        }

        public Criteria andShareNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("share_num >=", value, "shareNum");
            return (Criteria) this;
        }

        public Criteria andShareNumLessThan(Integer value) {
            addCriterion("share_num <", value, "shareNum");
            return (Criteria) this;
        }

        public Criteria andShareNumLessThanOrEqualTo(Integer value) {
            addCriterion("share_num <=", value, "shareNum");
            return (Criteria) this;
        }

        public Criteria andShareNumIn(List<Integer> values) {
            addCriterion("share_num in", values, "shareNum");
            return (Criteria) this;
        }

        public Criteria andShareNumNotIn(List<Integer> values) {
            addCriterion("share_num not in", values, "shareNum");
            return (Criteria) this;
        }

        public Criteria andShareNumBetween(Integer value1, Integer value2) {
            addCriterion("share_num between", value1, value2, "shareNum");
            return (Criteria) this;
        }

        public Criteria andShareNumNotBetween(Integer value1, Integer value2) {
            addCriterion("share_num not between", value1, value2, "shareNum");
            return (Criteria) this;
        }

        public Criteria andTotoalExpValueIsNull() {
            addCriterion("totoal_exp_value is null");
            return (Criteria) this;
        }

        public Criteria andTotoalExpValueIsNotNull() {
            addCriterion("totoal_exp_value is not null");
            return (Criteria) this;
        }

        public Criteria andTotoalExpValueEqualTo(Integer value) {
            addCriterion("totoal_exp_value =", value, "totoalExpValue");
            return (Criteria) this;
        }

        public Criteria andTotoalExpValueNotEqualTo(Integer value) {
            addCriterion("totoal_exp_value <>", value, "totoalExpValue");
            return (Criteria) this;
        }

        public Criteria andTotoalExpValueGreaterThan(Integer value) {
            addCriterion("totoal_exp_value >", value, "totoalExpValue");
            return (Criteria) this;
        }

        public Criteria andTotoalExpValueGreaterThanOrEqualTo(Integer value) {
            addCriterion("totoal_exp_value >=", value, "totoalExpValue");
            return (Criteria) this;
        }

        public Criteria andTotoalExpValueLessThan(Integer value) {
            addCriterion("totoal_exp_value <", value, "totoalExpValue");
            return (Criteria) this;
        }

        public Criteria andTotoalExpValueLessThanOrEqualTo(Integer value) {
            addCriterion("totoal_exp_value <=", value, "totoalExpValue");
            return (Criteria) this;
        }

        public Criteria andTotoalExpValueIn(List<Integer> values) {
            addCriterion("totoal_exp_value in", values, "totoalExpValue");
            return (Criteria) this;
        }

        public Criteria andTotoalExpValueNotIn(List<Integer> values) {
            addCriterion("totoal_exp_value not in", values, "totoalExpValue");
            return (Criteria) this;
        }

        public Criteria andTotoalExpValueBetween(Integer value1, Integer value2) {
            addCriterion("totoal_exp_value between", value1, value2, "totoalExpValue");
            return (Criteria) this;
        }

        public Criteria andTotoalExpValueNotBetween(Integer value1, Integer value2) {
            addCriterion("totoal_exp_value not between", value1, value2, "totoalExpValue");
            return (Criteria) this;
        }

        public Criteria andCreatedByIsNull() {
            addCriterion("created_by is null");
            return (Criteria) this;
        }

        public Criteria andCreatedByIsNotNull() {
            addCriterion("created_by is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedByEqualTo(String value) {
            addCriterion("created_by =", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotEqualTo(String value) {
            addCriterion("created_by <>", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByGreaterThan(String value) {
            addCriterion("created_by >", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByGreaterThanOrEqualTo(String value) {
            addCriterion("created_by >=", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLessThan(String value) {
            addCriterion("created_by <", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLessThanOrEqualTo(String value) {
            addCriterion("created_by <=", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLike(String value) {
            addCriterion("created_by like", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotLike(String value) {
            addCriterion("created_by not like", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByIn(List<String> values) {
            addCriterion("created_by in", values, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotIn(List<String> values) {
            addCriterion("created_by not in", values, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByBetween(String value1, String value2) {
            addCriterion("created_by between", value1, value2, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotBetween(String value1, String value2) {
            addCriterion("created_by not between", value1, value2, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIsNull() {
            addCriterion("created_time is null");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIsNotNull() {
            addCriterion("created_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeEqualTo(Date value) {
            addCriterion("created_time =", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotEqualTo(Date value) {
            addCriterion("created_time <>", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeGreaterThan(Date value) {
            addCriterion("created_time >", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("created_time >=", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeLessThan(Date value) {
            addCriterion("created_time <", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeLessThanOrEqualTo(Date value) {
            addCriterion("created_time <=", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIn(List<Date> values) {
            addCriterion("created_time in", values, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotIn(List<Date> values) {
            addCriterion("created_time not in", values, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeBetween(Date value1, Date value2) {
            addCriterion("created_time between", value1, value2, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotBetween(Date value1, Date value2) {
            addCriterion("created_time not between", value1, value2, "createdTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIsNull() {
            addCriterion("last_updated_by is null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIsNotNull() {
            addCriterion("last_updated_by is not null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByEqualTo(String value) {
            addCriterion("last_updated_by =", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotEqualTo(String value) {
            addCriterion("last_updated_by <>", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByGreaterThan(String value) {
            addCriterion("last_updated_by >", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByGreaterThanOrEqualTo(String value) {
            addCriterion("last_updated_by >=", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLessThan(String value) {
            addCriterion("last_updated_by <", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLessThanOrEqualTo(String value) {
            addCriterion("last_updated_by <=", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLike(String value) {
            addCriterion("last_updated_by like", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotLike(String value) {
            addCriterion("last_updated_by not like", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIn(List<String> values) {
            addCriterion("last_updated_by in", values, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotIn(List<String> values) {
            addCriterion("last_updated_by not in", values, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByBetween(String value1, String value2) {
            addCriterion("last_updated_by between", value1, value2, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotBetween(String value1, String value2) {
            addCriterion("last_updated_by not between", value1, value2, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIsNull() {
            addCriterion("last_updated_time is null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIsNotNull() {
            addCriterion("last_updated_time is not null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeEqualTo(Date value) {
            addCriterion("last_updated_time =", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotEqualTo(Date value) {
            addCriterion("last_updated_time <>", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeGreaterThan(Date value) {
            addCriterion("last_updated_time >", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("last_updated_time >=", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeLessThan(Date value) {
            addCriterion("last_updated_time <", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeLessThanOrEqualTo(Date value) {
            addCriterion("last_updated_time <=", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIn(List<Date> values) {
            addCriterion("last_updated_time in", values, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotIn(List<Date> values) {
            addCriterion("last_updated_time not in", values, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeBetween(Date value1, Date value2) {
            addCriterion("last_updated_time between", value1, value2, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotBetween(Date value1, Date value2) {
            addCriterion("last_updated_time not between", value1, value2, "lastUpdatedTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}